package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HIS_OPERATION_DRUG database table.
 * 
 */
@Entity
@Table(name="HIS_OPERATION_DRUG")
@NamedQuery(name="HisOperationDrug.findAll", query="SELECT h FROM HisOperationDrug h")
public class HisOperationDrug implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="SSYP_NO")
	private long ssypNo;

	@Column(name="CP_COUNT")
	private BigDecimal cpCount;

	@Column(name="CP_NAME")
	private String cpName;

	@Column(name="CP_NO")
	private BigDecimal cpNo;

	@Column(name="CP_PRICE")
	private BigDecimal cpPrice;

	@Column(name="CP_TYPE")
	private String cpType;

	@Column(name="CP_UNIT")
	private String cpUnit;

	@Column(name="CP_USE")
	private String cpUse;

	@Column(name="QY_NO")
	private BigDecimal qyNo;

	public HisOperationDrug() {
	}

	public long getSsypNo() {
		return this.ssypNo;
	}

	public void setSsypNo(long ssypNo) {
		this.ssypNo = ssypNo;
	}

	public BigDecimal getCpCount() {
		return this.cpCount;
	}

	public void setCpCount(BigDecimal cpCount) {
		this.cpCount = cpCount;
	}

	public String getCpName() {
		return this.cpName;
	}

	public void setCpName(String cpName) {
		this.cpName = cpName;
	}

	public BigDecimal getCpNo() {
		return this.cpNo;
	}

	public void setCpNo(BigDecimal cpNo) {
		this.cpNo = cpNo;
	}

	public BigDecimal getCpPrice() {
		return this.cpPrice;
	}

	public void setCpPrice(BigDecimal cpPrice) {
		this.cpPrice = cpPrice;
	}

	public String getCpType() {
		return this.cpType;
	}

	public void setCpType(String cpType) {
		this.cpType = cpType;
	}

	public String getCpUnit() {
		return this.cpUnit;
	}

	public void setCpUnit(String cpUnit) {
		this.cpUnit = cpUnit;
	}

	public String getCpUse() {
		return this.cpUse;
	}

	public void setCpUse(String cpUse) {
		this.cpUse = cpUse;
	}

	public BigDecimal getQyNo() {
		return this.qyNo;
	}

	public void setQyNo(BigDecimal qyNo) {
		this.qyNo = qyNo;
	}

}